from ttorm.core.management.base import NoArgsCommand

class Command(NoArgsCommand):
    help = "Prints the CREATE TABLE, initial-data and CREATE INDEX SQL statements for the given model module name(s)."

    output_transaction = True
    def handle_noargs(self, **options):
        from ttorm.core.management.sql import sql_all
        return '\n'.join(sql_all(self.style))
